﻿<sdk:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="AstekServis.Views.BilgiEkrani"
           Width="800" Height="700" 
           Title="BilgiEkrani" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/datagrid">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="225*"/>
            <RowDefinition Height="19*"/>
            <RowDefinition Height="146*" />
            <RowDefinition Height="19*" />
            <RowDefinition Height="166*" />
        </Grid.RowDefinitions>
        <toolkit:Accordion HorizontalAlignment="Stretch" Margin="0,20,0,0" x:Name="accordion1" VerticalAlignment="Stretch" >
            <toolkit:AccordionItem x:Name="Tab1" Header="Montaj Bilgileri" VerticalAlignment="Top" HorizontalContentAlignment="Stretch" Height="Auto" Margin="0">
                <Grid Margin="0,2,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.156*"/>
                        <ColumnDefinition Width="0.342*"/>
                        <ColumnDefinition Width="0.16*"/>
                        <ColumnDefinition Width="0.341*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                        <RowDefinition Height="10*"/>
                    </Grid.RowDefinitions>

                    <TextBox TextWrapping="Wrap" d:LayoutOverrides="Height" Margin="2" HorizontalAlignment="Right" Grid.Row="0" Width="260" Grid.Column="1" Name="txtFirma" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Grid.Row="0" Grid.Column="3" d:LayoutOverrides="Height" Margin="2" Width="260" HorizontalAlignment="Right" Name="txtGrup" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" HorizontalAlignment="Right" Grid.Row="1" Width="648" Grid.Column="1" d:LayoutOverrides="Height" Margin="0,2,2,2" Grid.ColumnSpan="3" Name="txtAdres" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="3" Width="260" Grid.Column="1" d:LayoutOverrides="Height" Name="txtUretimYili" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="4" Width="260" Grid.Column="1" d:LayoutOverrides="Height" Name="txtMontajYeri" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="5" Width="260" Grid.Column="1" d:LayoutOverrides="Height" Name="txtSistem" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="6" Width="260" Grid.Column="1" d:LayoutOverrides="Height" Name="txtFirmware" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="2" Width="260" Grid.Column="3" d:LayoutOverrides="Height" Name="txtPlaka" IsReadOnly="True" Foreground="#FFD40000" Text="" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="3" Width="260" Grid.Column="3" d:LayoutOverrides="Height" Name="txtSasiNo" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="4" Width="260" Grid.Column="3" d:LayoutOverrides="Height" Name="txtKoltukSayisi" IsReadOnly="True" />
                    <TextBox TextWrapping="Wrap" Margin="2" HorizontalAlignment="Right" Grid.Row="6" Width="260" Grid.Column="3" d:LayoutOverrides="Height" Name="txtSistemNo" IsReadOnly="True" />
                    <sdk:Label Margin="0,6,4,6" d:LayoutOverrides="Height" Content="Firma :" FontWeight="Bold" HorizontalAlignment="Right"/>
                    <sdk:Label Margin="0,6,4,6" Content="Firma Adresi :" FontWeight="Bold" HorizontalAlignment="Right" d:LayoutOverrides="Height" Grid.Row="1"/>
                    <sdk:Label Margin="0,6,4,6" Content="Araç Marka :" FontWeight="Bold" Grid.Row="2" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Araç Üretim Yılı :" FontWeight="Bold" Grid.Row="3" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Montaj Yeri :" FontWeight="Bold" Grid.Row="4" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Sistem :" FontWeight="Bold" Grid.Row="5" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Firmware :" FontWeight="Bold" Grid.Row="6" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Grup :" FontWeight="Bold" d:LayoutOverrides="Height" Grid.Column="2" HorizontalAlignment="Right"/>
                    <sdk:Label Margin="0,6,4,6" Content="Plaka :" FontWeight="Bold" Grid.Column="2" Grid.Row="2" d:LayoutOverrides="Width, Height" HorizontalAlignment="Right"/>
                    <sdk:Label Margin="0,6,4,6" Content="Şasi No :" FontWeight="Bold" Grid.Column="2" Grid.Row="3" d:LayoutOverrides="Height" HorizontalAlignment="Right"/>
                    <sdk:Label Margin="0,6,4,6" Content="Koltuk Sayısı :" FontWeight="Bold" Grid.Column="2" Grid.Row="4" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Montaj Tarihi :" FontWeight="Bold" Grid.Column="2" Grid.Row="5" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <sdk:Label Margin="0,6,4,6" Content="Sistem Numarası :" FontWeight="Bold" Grid.Column="2" Grid.Row="6" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
                    <TextBox HorizontalAlignment="Right" IsReadOnly="True" Margin="2" Name="txtMarka" TextWrapping="Wrap" Width="260" Grid.Column="1" Grid.Row="2" />
                    <TextBox HorizontalAlignment="Right" IsReadOnly="True" Margin="2" Name="txtMontajTarihi" TextWrapping="Wrap" Width="260" Grid.Column="3" Grid.Row="5" />
                </Grid>
            </toolkit:AccordionItem>
            <toolkit:AccordionItem x:Name="Tab2" Header="Araç Ek Bilgileri" VerticalAlignment="Top" HorizontalContentAlignment="Stretch" Height="Auto">
                <Grid Margin="0" Height="261">
                    <dxg:AgDataGrid Margin="2,2,2,71" Name="grdEkBilgiler" VerticalAlignment="Stretch" />
                </Grid>
            </toolkit:AccordionItem>
        </toolkit:Accordion>
        <Border BorderThickness="1" Grid.Row="1" Height="Auto" HorizontalAlignment="Stretch" Margin="2,0" Name="brdMain" VerticalAlignment="Stretch" Width="Auto" BorderBrush="{x:Null}" CornerRadius="3">
            <Border.Background>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FF838383" Offset="0" />
                    <GradientStop Color="White" Offset="1" />
                </LinearGradientBrush>
            </Border.Background>
            <TextBlock Height="Auto" Text="Servis Hareketleri" Width="Auto" HorizontalAlignment="Left" Foreground="#FFFEFEFE" FontWeight="Bold" Margin="4,0,0,0" FontFamily="Portable User Interface" FontSize="11" />
        </Border>
        <Border BorderBrush="Silver" BorderThickness="1" Grid.Row="3" Height="Auto" HorizontalAlignment="Stretch" Margin="2,0" Name="border2" VerticalAlignment="Stretch" Width="Auto" CornerRadius="3">
            <Border.Background>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FF838383" Offset="0" />
                    <GradientStop Color="White" Offset="1" />
                </LinearGradientBrush>
            </Border.Background>
            <TextBlock Height="Auto" Text="Montaj Hareketleri" Width="Auto" HorizontalAlignment="Left" Foreground="#FFFEFEFE" FontWeight="Bold" Margin="4,0,0,0" FontFamily="Portable User Interface" FontSize="11" />
        </Border>
        <dxg:AgDataGrid AllowEditing="False" Grid.Row="2" Height="Auto" HorizontalAlignment="Stretch" Margin="2" Name="grdServis" VerticalAlignment="Stretch" Width="Auto" />
        <dxg:AgDataGrid  AllowEditing="False" Grid.Row="4" Height="Auto" HorizontalAlignment="Stretch" Margin="2" Name="grdMontaj" VerticalAlignment="Stretch" Width="Auto" />
        <Button Content="İncele" Grid.Row="1" Height="Auto" HorizontalAlignment="Right" Margin="0,0,20,0" Name="btnServisAc" VerticalAlignment="Stretch" Width="75" Foreground="#FFD40000" FontWeight="Bold" Click="btnServisAc_Click" />
        <Button Content="İncele" Grid.Row="3" Height="Auto" HorizontalAlignment="Right" Margin="0,0,20,0" Name="btnMontajIncele" VerticalAlignment="Stretch" Width="75" FontWeight="Bold" Foreground="#FFD40000" Click="btnMontajIncele_Click" />
        <sdk:Label Content="Garanti Süresi Geçmemiştir" FontSize="13.333" FontStyle="Italic" FontWeight="Bold" Foreground="#FF00AD91" Height="Auto" HorizontalAlignment="Center" Margin="0" Name="lblHeader" VerticalAlignment="Top" />
    </Grid>
</sdk:ChildWindow>